const { mongoose } = require('../utils/mongod_util');

mongoose.Promise = Promise;
const Schema = mongoose.Schema;

const projectJsonSchema = new Schema({
  _class: String,
  projectData: String,
  projectVersion: String,
  projectDesignId: String,
  userId: String
}, { collection: 'project_json' });

const ProjectJson = mongoose.model('ProjectJson', projectJsonSchema);
module.exports = ProjectJson;
